<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/heard.jsp"%>

<!DOCTYPE html>
<html>
<head>
<title>首页</title>


<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<script type="text/javascript">
	//解决iframe的兼容性问题
	alert("当前文章的添加修改模块 因为iframe兼容是问题暂时无法解决 。。请使用火狐浏览器访问");
		
	
	$(function() {
		doArticleManager();
	})
	function doArticleManager() {
		
		$("#iframe").attr("src","${basePath }article/admin/toArticleUI.shtml?pageNo=0");
		
	}
	function doShuoManager(){
		$("#iframe").attr("src","${basePath }shuo/admin/toShuoUI.shtml?pageNo=0");
	}
	
</script>
</head>
<body>
	 <div class="row">
	 <div class="col-md-12 col-xs-12 col-sm-12">
		<nav id="bs-navbar" class="collapse navbar-collapse navbar-inverse">
			<div class="navbar-header">
				<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false">
					<span class="sr-only">个人博客后台</span> <span class="icon-bar"></span><span class="icon-bar"></span> <span class="icon-bar"></span>
				</button>
				<a href="#" class="navbar-brand">个人博客后台</a>
			</div>
			<ul class="nav navbar-nav navbar-right">
				<li><a href="#">当前用户：管理员</a></li>
				<li><a href="${basePath }login">退出</a></li>
			</ul>
		</nav>
	 </div>
 </div>
		<div class="row">
			<div class="col-md-3">
				<div class="list-group">

					<a href="javascript:void(0);"
						class="list-group-item list-group-item-info"
						onclick="doArticleManager()">文章管理</a> <a
						href="javascript:void(0);"
						class="list-group-item list-group-item-warning"
						onclick="doShuoManager()">说说管理</a> <a href="javascript:void(0);"
						class="list-group-item list-group-item-danger"
						onclick="doGuestBookManager()">留言管理</a>

				</div>
			</div>
			<!-- right -->
			<div class="col-md-9">
				<div class="embed-responsive embed-responsive-16by9">
					<iframe id="iframe" class="embed-responsive-item" src="..."></iframe>
				</div>
			</div>

		</div>

</body>
</html>
